package com.example.datasourcetest.service;

import com.example.datasourcetest.enums.DataSourceType;
import com.example.datasourcetest.mapper.UserMapper;
import com.example.datasourcetest.util.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {

    @Resource
    UserMapper userMapper;

    public int insertUser(){
        return userMapper.insert();
    }

}
